package top.kaoshanji.p1ch08a;

/**
 * 代码清单-p1ch08a-197页a：只有一个参数的泛型类
 * author kaoshanji
 * ^_^
 * create time 2025/2/19 10:43
 */
public class PairV1<T> {

    T first;
    T second;

    public PairV1(T first, T second) {
        this.first = first;
        this.second = second;
    }

    public T getFirst() {
        return first;
    }

    public T getSecond() {
        return second;
    }
}
